package com.javasm.duanju.controller;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.javasm.duanju.dto.VideoBaseDTO;
import com.javasm.duanju.entity.Video;
import com.javasm.duanju.service.VideoService;
import commom.domain.AjaxResult;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;

import javax.annotation.Resource;
import java.io.IOException;
import java.io.Serializable;
import java.util.List;

/**
 * (Video)表控制层
 *
 * @author makejava
 * @since 2025-02-27 15:31:25
 */
@RestController
@RequestMapping("/video")
public class VideoController{
    /**
     * 服务对象
     */
    @Resource
    private VideoService videoService;
    @ApiOperation(value = "下架短剧",notes = "下架短剧")
    @PostMapping("/downVideo")
    public AjaxResult downVideo(@RequestBody VideoBaseDTO videoBaseDTO){
                     videoService.downVideo(videoBaseDTO);
        return AjaxResult.ok();
    }


}

